﻿using System;
using System.Runtime.Serialization;
using System.Security;

namespace RockBus.Exceptions
{
    public class DeliveryException : Exception
    {
        public DeliveryException()
            : base()
        {
        }

        public DeliveryException(string message)
            : base(message)
        {
        }

        [SecuritySafeCritical]
        protected DeliveryException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }

        public DeliveryException(string message, Exception innerException)
            : base(message, innerException)
        {
        }
    }
}